Claisen condensation of diethyl carbonate with p-fluoroacetophenone (I) produced keto ester (II). This was cyclized to the pyrimidine (IV) by treatment with acetamidine hydrochloride (III) in the presence of K2CO3 in hot EtOH. Chlorination of hydroxypyrimidine (IV) by means of POCl3 furnished the 4-chloropyrimidine (V). Finally, chloride displacement in (V) with the sodium alkoxide of 5-piperidino-1-pentanol (VI) gave rise to the target pyrimidinyl ether, which was isolated as the corresponding hydrochloride salt.